package com.rjwh.dingdong.client.mvp.presenter;

import com.orangegangsters.github.swipyrefreshlayout.library.SwipyRefreshLayoutDirection;

import static android.R.attr.category;

/**
 * @author 王小珂
 * @ClassName IHomeWorkPresenter
 * @Description
 * @date 2017-1-4
 * @history 2017-1-4 author: description:
 */

public interface IHomeWorkPresenter {
    /**
     * 获取作业列表
     *
     * @param agecode
     * @param category
     * @param pageindex
     */
    void doGetHomeWorkList(int agecode, String category, int pageindex, boolean isRefresh, SwipyRefreshLayoutDirection direction);


    /**
     * 注册作业
     *
     * @param bookid
     * @param category
     */
    void doHomeWorkAssign(String bookid, String category);
}
